package com.bbcare.switchData.entity.model;

import com.bbcare.switchData.entity.basemodel.BaseEntityForBB;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;


public class PtTaskInfo extends BaseEntityForBB<PtTaskInfo> {

	private String userId; // 患者id
	private String ptSchemeid; // 患者方案id
	private String taskName; // 任务名称
	private String taskIntro; // 任务描述
	private Integer seqNo; // 任务序号，0为建档，其他从1开始递增
	private String executeType; // 执行类型 0：应用后触发 1：纠正年龄触发 2：出生年龄触发 3：出院后触发
	private Integer windowDay; // 任务窗口期
	private Integer warnDay; // 任务警戒期
	private Integer executeDay; // 距离建档的执行天数 如纠正胎龄多长时间开始执行本次随访
	private String informFlag; // 
	private String authorId; // 创建人id
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private java.util.Date updateTime; // 更新时间

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private java.util.Date createTime; // 创建时间
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private java.util.Date executeTime; // 执行日期
	private String taskStatus; // 任务状态 0:未随访 1:已随访 2:已过期（未随访）
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private java.util.Date beginTime; // 任务开始时间
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private java.util.Date endTime; // 任务结束时间
	private String queueId; // 队列id
	private String updateAccept; // 更新流水
	private String updateAuthor; // 更新人id
	private String executeAddress; // 门诊地址
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private java.util.Date finishDate; // 门诊录入日期（即任务完成日期）,任务未开始或过期，该值为空
	private String taskNote; // 门诊指导建议
	private String nextDate; // 下次门诊时间
	private String nextAddress; // 下次门诊地址
	private String updateAuname; // 更新人姓名，即门诊医生姓名
	private String taskType; // 任务类型：0门诊随访任务；1线上问卷任务；2线上主诉登记任务
	private Integer smsNum; // 短信发送次数
	private String nextTaskId; // 下次任务id
	private String ruleType; // 主诉登记规则：0 通用任务内容，整个周期内都是相同的问卷；1 月龄规则，每个月龄的主诉登记内容不相同......待扩展
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private java.util.Date finishTime; // 完成时间
	private String taskRecordName; // 任务记录名称
	private String auditStatus; // 审核状态，0初始化  1正常 4待审核 5审核不通过
	private String temporaryTask; // 临时任务标识 1:临时任务

	private String userName;

	public String getUserId() {
		return userId;
	}
	
	public void setUserId(String userId) {
		this.userId = userId;
	}
	
	public String getPtSchemeid() {
		return ptSchemeid;
	}
	
	public void setPtSchemeid(String ptSchemeid) {
		this.ptSchemeid = ptSchemeid;
	}
	
	public String getTaskName() {
		return taskName;
	}
	
	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}
	
	public String getTaskIntro() {
		return taskIntro;
	}
	
	public void setTaskIntro(String taskIntro) {
		this.taskIntro = taskIntro;
	}
	
	public Integer getSeqNo() {
		return seqNo;
	}
	
	public void setSeqNo(Integer seqNo) {
		this.seqNo = seqNo;
	}
	
	public String getExecuteType() {
		return executeType;
	}
	
	public void setExecuteType(String executeType) {
		this.executeType = executeType;
	}
	
	public Integer getWindowDay() {
		return windowDay;
	}
	
	public void setWindowDay(Integer windowDay) {
		this.windowDay = windowDay;
	}
	
	public Integer getWarnDay() {
		return warnDay;
	}
	
	public void setWarnDay(Integer warnDay) {
		this.warnDay = warnDay;
	}
	
	public Integer getExecuteDay() {
		return executeDay;
	}
	
	public void setExecuteDay(Integer executeDay) {
		this.executeDay = executeDay;
	}
	
	public String getInformFlag() {
		return informFlag;
	}
	
	public void setInformFlag(String informFlag) {
		this.informFlag = informFlag;
	}
	
	public String getAuthorId() {
		return authorId;
	}
	
	public void setAuthorId(String authorId) {
		this.authorId = authorId;
	}
	
	public java.util.Date getUpdateTime() {
		return updateTime;
	}
	
	public void setUpdateTime(java.util.Date updateTime) {
		this.updateTime = updateTime;
	}
	
	public java.util.Date getCreateTime() {
		return createTime;
	}
	
	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}
	
	public java.util.Date getExecuteTime() {
		return executeTime;
	}
	
	public void setExecuteTime(java.util.Date executeTime) {
		this.executeTime = executeTime;
	}
	
	public String getTaskStatus() {
		return taskStatus;
	}
	
	public void setTaskStatus(String taskStatus) {
		this.taskStatus = taskStatus;
	}
	
	public java.util.Date getBeginTime() {
		return beginTime;
	}
	
	public void setBeginTime(java.util.Date beginTime) {
		this.beginTime = beginTime;
	}
	
	public java.util.Date getEndTime() {
		return endTime;
	}
	
	public void setEndTime(java.util.Date endTime) {
		this.endTime = endTime;
	}
	
	public String getQueueId() {
		return queueId;
	}
	
	public void setQueueId(String queueId) {
		this.queueId = queueId;
	}
	
	public String getUpdateAccept() {
		return updateAccept;
	}
	
	public void setUpdateAccept(String updateAccept) {
		this.updateAccept = updateAccept;
	}
	
	public String getUpdateAuthor() {
		return updateAuthor;
	}
	
	public void setUpdateAuthor(String updateAuthor) {
		this.updateAuthor = updateAuthor;
	}
	
	public String getExecuteAddress() {
		return executeAddress;
	}
	
	public void setExecuteAddress(String executeAddress) {
		this.executeAddress = executeAddress;
	}
	
	public java.util.Date getFinishDate() {
		return finishDate;
	}
	
	public void setFinishDate(java.util.Date finishDate) {
		this.finishDate = finishDate;
	}
	
	public String getTaskNote() {
		return taskNote;
	}
	
	public void setTaskNote(String taskNote) {
		this.taskNote = taskNote;
	}
	
	public String getNextDate() {
		return nextDate;
	}
	
	public void setNextDate(String nextDate) {
		this.nextDate = nextDate;
	}
	
	public String getNextAddress() {
		return nextAddress;
	}
	
	public void setNextAddress(String nextAddress) {
		this.nextAddress = nextAddress;
	}
	
	public String getUpdateAuname() {
		return updateAuname;
	}
	
	public void setUpdateAuname(String updateAuname) {
		this.updateAuname = updateAuname;
	}
	
	public String getTaskType() {
		return taskType;
	}
	
	public void setTaskType(String taskType) {
		this.taskType = taskType;
	}
	
	public Integer getSmsNum() {
		return smsNum;
	}
	
	public void setSmsNum(Integer smsNum) {
		this.smsNum = smsNum;
	}
	
	public String getNextTaskId() {
		return nextTaskId;
	}
	
	public void setNextTaskId(String nextTaskId) {
		this.nextTaskId = nextTaskId;
	}
	
	public String getRuleType() {
		return ruleType;
	}
	
	public void setRuleType(String ruleType) {
		this.ruleType = ruleType;
	}
	
	public java.util.Date getFinishTime() {
		return finishTime;
	}
	
	public void setFinishTime(java.util.Date finishTime) {
		this.finishTime = finishTime;
	}
	
	public String getTaskRecordName() {
		return taskRecordName;
	}
	
	public void setTaskRecordName(String taskRecordName) {
		this.taskRecordName = taskRecordName;
	}
	
	public String getAuditStatus() {
		return auditStatus;
	}
	
	public void setAuditStatus(String auditStatus) {
		this.auditStatus = auditStatus;
	}
	
	public String getTemporaryTask() {
		return temporaryTask;
	}
	
	public void setTemporaryTask(String temporaryTask) {
		this.temporaryTask = temporaryTask;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
}
